<?php

namespace App\Providers;

use App\Models\Aigc\AigcTextTaskModel;
use App\Models\Figure\FigureModel;
use App\Models\Order\OrderModel;
use App\Models\Point\PointRecordModel;
use App\Models\Site\SiteModel;
use App\Models\Timbre\TimbreModel;
use App\Models\VideoClip\VideoClipTaskModel;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     */
    public function register(): void
    {
        if ($this->app->environment('local')) {
            // $this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
            // $this->app->register(TelescopeServiceProvider::class);
        }
    }

    /**
     * Bootstrap any application services.
     */
    public function boot(): void
    {
        Schema::defaultStringLength(191);
        //多态关联模型关系映射
        Relation::morphMap([

        ]);
    }
}
